package com.sinog.front.feign.biz;

import com.sinog.core.utilbean.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @desc 对外接口feign
 * @author -
 * @date -
 */
@FeignClient("sinog2c-biz")
public interface DataTransmissionService {

    /**
     * 保存预安置人员 - 整合上面6个接口
     * @param data data
     * @return Result
     */
    @PostMapping("/transmission/api/azbj/savePreArrangedPersonnel")
    Result savePreArrangedPersonnel(@RequestBody String data);

    /**
     * 解除社区矫正接口
     * @param data data
     * @return Result
     */
    @PostMapping("/transmission/api/azbj/saveJjData")
    Result saveJjData(@RequestBody String data);
}